package cn.matezk.cloud.dao;

import cn.matezk.cloud.dto.PaymentOrderDto;
import cn.matezk.cloud.model.PaymentOrder;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface PaymentOrderDao {
    int insertSelective(PaymentOrder paymentOrder);
    PaymentOrder selectByPrimaryKey(String orderId);
    int updateByPrimaryKeySelective(PaymentOrder paymentOrder);
    List<PaymentOrder> query(PaymentOrderDto paymentOrderDto);
    List<String> initialOrder();
    Long countToday();
    List<PaymentOrder> selectByAppState(@Param("appId") String appId, @Param("state") String state);
}
